package com.itasura.templatemethod;

import lombok.extern.slf4j.Slf4j;

/**
 * @author sailor wang
 * @date 2018/11/21 7:41 PM
 * @description
 */
@Slf4j
public class TomatoCook extends CookMethod {
    @Override
    protected void pourOil() {
        log.info("加少量油");
    }

    @Override
    protected void heatOil() {
        log.info("热油");
    }

    @Override
    protected void pourVegetable() {
        log.info("倒入鸡蛋+西红柿");
    }

    @Override
    protected void pourSauce() {
        log.info("加少量生抽");
    }

    @Override
    protected void fry() {
        log.info("翻炒");
    }
}